home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / mtools.lha / mtools-2.0.7 / Readme < prev    next >
Text File  |  1992-09-10  |  3KB  |  75 lines

  1. This version of mtools contains changes by David MacKenzie
  2. (djm@eng.umd.edu) to support the IBM RT under 4.3BSD (ACIS).
  3.  
  4.                 MTOOLS
  5.                   version 2.0
  6.  
  7. Mtools is a public domain collection of programs to allow Unix systems
  8. to read, write, and manipulate files on an MSDOS filesystem (typically a
  9. diskette).
  10.  
  11. The following MSDOS commands are emulated:
  12.  
  13. Mtool         MSDOS
  14. name        equivalent    Description
  15. -----        ----        -----------
  16. mattrib        ATTRIB        change MSDOS file attribute flags
  17. mcd        CD        change MSDOS directory
  18. mcopy        COPY        copy MSDOS files to/from Unix
  19. mdel        DEL/ERASE    delete an MSDOS file
  20. mdir        DIR        display an MSDOS directory
  21. mformat        FORMAT        add MSDOS filesystem to a low-level format
  22. mlabel        LABEL        make an MSDOS volume label.
  23. mmd        MD/MKDIR    make an MSDOS subdirectory
  24. mrd        RD/RMDIR    remove an MSDOS subdirectory
  25. mread        COPY        low level read (copy) an MSDOS file to Unix
  26. mren        REN/RENAME    rename an existing MSDOS file
  27. mtype        TYPE        display contents of an MSDOS file
  28. mwrite        COPY        low level write (copy) a Unix file to MSDOS
  29.  
  30. You should be able to just close your eyes and pretend you're on an MSDOS
  31. system.  Everything should work the same... except for the added 'm' at
  32. the beginning of each command.
  33.  
  34. I really wanted to avoid the use of a 'text' mode and a 'data' mode when
  35. transferring files, but I couldn't find a better way.  It gets rather
  36. confusing and it's quite possible to mess up a file if you apply the
  37. text mode when it is not appropriate (ie:  to a COM or EXE file).
  38.  
  39. The pattern matching routine more closely resembles Unix than MSDOS.
  40. For example, "*" matches all MSDOS files in lieu of "*.*".
  41.  
  42. The use of wildcards (or the '\' separator) will require the names to be
  43. enclosed in quotes to protect them from the shell.  For example:
  44.  
  45.     RIGHT:    mcopy "a:*.c" .
  46.  
  47.     will copy all files on the A: disk with the extension .C to the
  48.     current Unix directory.
  49.  
  50.     WRONG:    mcopy a:*.c .
  51.  
  52.     will cause the shell to expand a:*.c in the current Unix directory
  53.     (which is probably not what you wanted) then copy that list of
  54.     files (if there were any) from A: to the current Unix directory.
  55.  
  56.     RIGHT:    mcopy *.c a:
  57.  
  58.     will copy all files with the extension .c in the current Unix
  59.     directory to the A: drive.  (This time you *want* the shell
  60.     the expand the *.c).
  61.  
  62. The manuals are very terse...  it's assumed that the reader is already
  63. familiar with MSDOS.
  64.  
  65. Mcopy is really a front-end to the low level Mread and Mwrite commands.
  66.  
  67. Please *DO* read the Configure file and the Release.notes (that's why 
  68. they're there...).
  69.  
  70. Emmet P. Gray                US Army, HQ III Corps & Fort Hood
  71. ...!uunet!uiucuxc!fthood!egray        Attn: AFZF-DE-ENV
  72. fthood!egray@uxc.cso.uiuc.edu        Directorate of Engineering & Housing
  73.                     Environmental Management Office
  74.                     Fort Hood, TX 76544-5057
  75.